package com.ruoyi.project.tool.swagger.UserController;

import com.ruoyi.framework.aspectj.lang.annotation.SignatureValidation;
import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.project.system.domain.SysBanner;
import com.ruoyi.project.system.service.ISysBannerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/mobileUser/bannerImg")
public class UserBannerController {

    @Autowired
    private ISysBannerService sysBannerService;
    /**
     *  展示Banner 图
     * */
    @SignatureValidation
    @GetMapping("/showBannerImg")
    public AjaxResult showBannerImg(){
        return AjaxResult.success(sysBannerService.showbannerImg());
    }
}
